Skip to content

[Medium] Patch systemd for CVE-2026-40226, CVE-2026-40225#16768

Open
akhila-guruju wants to merge 1 commit intomicrosoft:3.0-devfrom
Kanishk-Bansal:topic/systemd/3.0/40226
Open

[Medium] Patch systemd for CVE-2026-40226, CVE-2026-40225#16768
akhila-guruju wants to merge 1 commit intomicrosoft:3.0-devfrom
Kanishk-Bansal:topic/systemd/3.0/40226

Conversation

@akhila-guruju
Copy link
Copy Markdown
Contributor

@akhila-guruju akhila-guruju commented Apr 21, 2026

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

  • The toolchain has been rebuilt successfully (or no changes were made to it)
  • The toolchain/worker package manifests are up-to-date
  • Any updated packages successfully build (or no packages were changed)
  • Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
  • Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
  • All package sources are available
  • cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
  • LICENSE-MAP files are up-to-date (./LICENSES-AND-NOTICES/SPECS/data/licenses.json, ./LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md, ./LICENSES-AND-NOTICES/SPECS/LICENSE-EXCEPTIONS.PHOTON)
  • All source files have up-to-date hashes in the *.signatures.json files
  • sudo make go-tidy-all and sudo make go-test-coverage pass
  • Documentation has been updated to match any changes to the build system
  • Ready to merge

Summary

Patch systemd for CVE-2026-40226
GH advisories (GHSA-9mj4-rrc3-gjcx) mentioned that these 2 commits will fix the CVE.
Patch reference:

  1. https://github.com/systemd/systemd/commit/773fd3b6e72e6c83cbb1cfc1cb20f3793db8649a.patch
  2. https://github.com/systemd/systemd/commit/bfa0a842822c4f79da9d47f8a773fd128d8f8a0a.patch

Patch applies cleanly. No backporting is done.

Change Log
  • new file: SPECS/systemd/CVE-2026-40226.patch
  • modified: SPECS/systemd/systemd.spec
Does this affect the toolchain?

NO

Associated issues
  • #xxxx
Links to CVEs
Test Methodology
  • Local Build.
  • Patch applies cleanly.
image

@microsoft-github-policy-service microsoft-github-policy-service Bot added Packaging 3.0-dev PRs Destined for AzureLinux 3.0 labels Apr 21, 2026
@akhila-guruju akhila-guruju marked this pull request as ready for review April 21, 2026 09:38
@akhila-guruju akhila-guruju requested a review from a team as a code owner April 21, 2026 09:38
@Kanishk-Bansal
Copy link
Copy Markdown
Contributor

Buddy Build

@Kanishk-Bansal
Copy link
Copy Markdown
Contributor

/azurepipelines run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@Kanishk-Bansal
Copy link
Copy Markdown
Contributor

Build after merge conflicts

@akhila-guruju
Copy link
Copy Markdown
Contributor Author

Build has passed but ptests are failing.
These are known failures and failing before applying the patch. Verified from latest full build test logs.
https://dev.azure.com/mariner-org/mariner/_build/results?buildId=1101139&view=results

@akhila-guruju akhila-guruju force-pushed the topic/systemd/3.0/40226 branch from 9e9706e to 84db20b Compare April 29, 2026 10:47
@akhila-guruju akhila-guruju changed the title [Medium] Patch systemd for CVE-2026-40226 [Medium] Patch systemd for CVE-2026-40226, CVE-2026-40225 Apr 29, 2026
@Kanishk-Bansal
Copy link
Copy Markdown
Contributor

Buddy Build

Copy link
Copy Markdown
Contributor

@Kanishk-Bansal Kanishk-Bansal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix the lisc check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3.0-dev PRs Destined for AzureLinux 3.0 Packaging security

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants